package com.lemeng.service;

import com.lemeng.entity.PageResult;
import com.lemeng.pojo.Album;

import java.util.List;
import java.util.Map;

public interface AlbumService {

    public List<Album> findAll();

    public PageResult<Album> findPage(Integer page, Integer size);

    public List<Album> findList(Map<String, Object> serchMap);

    public PageResult<Album> findPage(Integer page, Integer size, Map<String, Object> serchMap);

    public Album findById(Integer id);

    void add(Album album);

    void update(Album album);

    void delete(Integer id);

    void addImgItem(Album album);

    void removeImageItems(Long id,Long uid);

    void moveAlbum(Long newId, Long oldId, Long uid);
}
